package co.edu.udem.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "group_authorities")
public class GroupAuthorities implements Serializable {

	private static final long serialVersionUID = -3793755496245424116L;

	@Id
	@Column(name = "GROUP_ID")
	private int groupId;

	@Id
	@Column(name = "AUTHORITY")
	private String authority;

	public int getGroupId() {
		return groupId;
	}

	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}

	public String getAuthority() {
		return authority;
	}

	public void setAuthority(String authority) {
		this.authority = authority;
	}

}
